import VueRouter from 'vue-router'
import Vue from 'vue'

Vue.use(VueRouter)

import Find from '@/views/Find.vue'
import Friend from '@/views/Friend.vue'
import My from '@/views/My.vue'

const router = new VueRouter({
  routes: [
    { path: '/Find', component: Find },
    { path: '/Friend', component: Friend },
    { path: '/My', component: My },
  ],
  //link自定义高亮类名
  linkActiveClass: "active",
  linkExactActiveClass: "exat-active"
})

export default (router)

